﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ReporterApplication.Expressions
{
    public class And : Logical
    {
        public override bool Eval(ExpArgs args)
        {
            //get expression + next

            bool result = Exp(args);

            if (Next != null)
                return result && Next.Eval(args);

            return result;
        }
    }
}
